<?php

namespace App\Models\Cruise;

use App\Models\BaseModel;
use App\Models\Traits\KfSoftDeletes;
use App\Models\Traits\KfUid;
use App\Support\CustomForm\AttributeCruiseSupport;
use App\Support\CustomForm\AttributeSupport;
use Illuminate\Database\Eloquent\Relations\HasMany;

class CruiseTemplatePositionModel extends BaseModel
{
    use KfUid;

    protected $table = 'cruise_template_position';

    protected $fillable = [
        'id',
        'name',
        'templateId',
    ];

    public function positionProjectMappingsRel(): HasMany
    {
        return $this->hasMany(CruiseTemplatePositionProjectMappingModel::class, 'positionId');
    }
}
